package com.fastCms.business.mall.pojo.vo;

import com.fastCms.business.frame.config.BigDecimalValueFilter;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * 杭州人参大健康管理有限公司 版权所有 Copyright 2019<br>
 *
 * @Description: 商品详情<br>
 * @Project: healthPro <br>
 * @CreateDate: Created in 2019年4月10日 下午1:30:56 <br>
 * @Author: < a href="jiahui.zhao@healthpro.vip">jiahui.zhao</ a>
 */
@ApiModel(value = "ProductSkuInfoShowVO", description = "商品详情")
@Data
public class ProductSkuInfoShowVO {

    @ApiModelProperty(value = "产品ID")
    private String productId;

    @ApiModelProperty(value = "产品名称")
    private String productName;

    @ApiModelProperty(value = "产品类型（实物商品,服务商品）")
    private String productType;

    @ApiModelProperty(value = "商品首图")
    private String mainImageUrl;

    @ApiModelProperty(value = "产品单价")
    @JsonSerialize(using = BigDecimalValueFilter.class)
    private BigDecimal unitPrice;

    @ApiModelProperty(value = "sku最低价")
    @JsonSerialize(using = BigDecimalValueFilter.class)
    private BigDecimal skuMinPrice;

    @ApiModelProperty(value = "sku最高价")
    @JsonSerialize(using = BigDecimalValueFilter.class)
    private BigDecimal skuMaxPrice;

    @ApiModelProperty(value = "剩余总库存")
    private Integer remainStock;

    @ApiModelProperty(value = "商品规格和规格值列表")
    private List<ProductSpecRelValueVO> productSpecRelValues;

    @ApiModelProperty(value = "商品sku列表")
    private List<ProductSkuVO> productSkus;

}
